<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--border设置边框-->
<table border="1">
  <tr><!--table row表示行-->
    <td colspan="2" align="center">1-1</td><!--table data 表示列-->
    <td rowspan="2">1-3</td><td rowspan="3">1-4</td>
  </tr>
  <tr>
    <td>2-1</td><td>2-2</td>
  </tr>
  <tr>
    <td colspan="3" align="center">3-1</td>
  </tr>
</table>
<table border="1">
  <caption>购物车</caption><!--表格标题-->
  <tr><th>编号</th><th>商品名</th><th>价格</th></tr>
  <tr><td>1</td><td>华为mate 60 pro</td><td>7999</td></tr>
  <tr><td>2</td><td>华为智慧屏</td><td>21999</td></tr>
  <tr>
    <td>总价：</td>
    <td colspan="2">29998元</td>
  </tr>
</table>
</body>
</html>